package com.ns.scs.ads.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ns.core.vo.bs.BaseVO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 广告响应实体
 *
 * @author liaowei
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class AdsVO extends BaseVO {
    /**
     * 商家logo
     */
    private String logo;

    /**
     * 描述
     */
    private String note;

    /**
     * 商家地址
     */
    private String url;


    /**
     * 商家logo
     */
    private String img;

    /**
     * 图集
     */
    private String thumbnail;

    /**
     * 广告位Id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long spaceId;

    /**
     * 广告位编码
     */
    private String spaceCode;
}
